package com.gyz.cfmall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author GongYuZhuo
 * @Version 1.0.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "cfmall.thread")
public class ThreadPoolConfigProperties {
    private Integer coreSize;

    private Integer maxSize;

    private Integer keepAliveTime;
}
